package com.fansl.koala.quickdev.common.exception;

import com.fansl.koala.quickdev.common.enums.ResultEnum;
import lombok.Getter;

/**
 * @author fansl
 * @Description: 参数校验异常
 * @date 2020/3/12 11:39
 */
public class CheckedException extends BizException {
    @Getter
    private final int code = ResultEnum.CHECKED_EXCEPTION.getCode();

    public CheckedException() {
        super(ResultEnum.CHECKED_EXCEPTION.getMessage());
    }

    public CheckedException(String message) {
        super(message);
    }
}
